<?php if (!defined('THINK_PATH')) exit();?><div class="query-title">
    <ul>
    <li>
        <em><?php if($show["type"] == 1): ?>拍单<?php else: ?>车辆<?php endif; ?>编号：</em>
        <i><?php echo ($show["no"]); ?></i>
    </li>
    <li>
        <em>车型：</em>
        <i><?php echo ($show["model"]); ?></i>
    </li>
    <li>
        <em>车牌号：</em>
        <i><?php echo ($show["plate_num"]); ?></i>
    </li>
    <li>
        <em>当前状态：</em>
        <i><?php echo ($show["status"]); ?></i>
    </li>
    <li>
        <em>渠道来源：</em>
        <i><?php echo $show_from[$show['comefrom']]; ?></i>
    </li>
    <li>
        <em>付款状态：</em>
        <i>
        <?php echo ($show["pay_status"]); ?>
        <?php if($show["pay_status_type"] == 21): ?><span>(100%)</span>
        <?php elseif($show["pay_status_type"] == 22): ?>
            <span>(50%)</span>
        <?php elseif($show["pay_status_type"] == 23): ?>
            <span>(0%)</span><?php endif; ?>
        </i>
    </li>
    <?php if (in_array($show['order_status'], [10,11,13])): ?>
    <li>
        <em>车辆落户：</em>
        <i><?php echo ($show["transfer_to_name"]); ?></i>
    </li>
    <li>
        <?php if (in_array($show['result'], [1,2,3])): ?>
            <em>过户截止日期：</em>
            <i><?php echo ($show["deadlinetime"]); ?></i>
        <?php elseif($show['result'] == 4): ?>
            <em>预计提档日期：</em>
            <i><?php echo ($show["mentiontime"]); ?></i>
        <?php else: ?>
            <em>过户截止日期：</em>
            <i>--</i>
        <?php endif ?>
    </li>
    <?php endif ?>
    </ul>
    <table width="100%" class="query-list">
        <thead>
        <tr>
            <th width="30%">发生时间</th>
            <th width="40%">执行操作</th>
            <th width="30%">操作人</th>
        </tr>
        </thead>
        <tbody>
            <?php foreach($show['action_log'] as $item):?>
                <tr>
                    <td><?php echo ($item["createtime"]); ?></td>
                    <td><?php echo ($item["action_name"]); ?></td>
                    <td><?php echo ($item["emp_name"]); ?></td>
                </tr>
            <?php endforeach;?>
        </tbody>
    </table>
</div>